<ui:component xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:a="https://ajax4jsf.dev.java.net/ajax"
	xmlns:ctg="http://www.crotouristguide.com/taglib"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich">

	<rich:panel>
		<f:facet name="header">
			<h:outputText value="#{messages['title.portal.updates']}" />
		</f:facet>

		<rich:dataOrderedList value="#{objektUpdates}" var="o" rows="10">
			<h:outputLink
				value="#{application.contextPath}/guides/objekti/objekt.seam">
				<f:param name="idObjekta" value="#{o.idObjekta}" />
				<f:param name="l" value="#{currentLang}" />
				<f:param name="title" value="#{titleAction.getUrlTitle(o)}" />
				<h:outputText value="#{messages[stringUtil.toString(o.tipObjekta.idTipaObjekta)]}" />
				<ctg:nbsp />
				<h:outputText value="#{o.naziv}" />
			</h:outputLink> 
			<h:outputText value=", " />
			<h:outputLink
				value="#{application.contextPath}/guides/mjesta/mjesto.seam">
				<f:param name="idMjesta" value="#{o.mjesto.idMjesta}" />
				<f:param name="l" value="#{currentLang}" />
				<f:param name="title" value="#{titleAction.getUrlTitle(o.mjesto)}" />
				<h:outputText value="#{o.mjesto.naziv}" />
			</h:outputLink>
		</rich:dataOrderedList>
	</rich:panel>
</ui:component>